Skip to main content

mobileDisableAccelerometer

Type

command

Summary

Disabled the accelerometer so that accelerationChanged events are not delivered.

Syntax

mobileDisableAccelerometer

Description

The mobileDisableAccelerometer command disables the accelerometer on the device.

The mobileDisableAccelerometer command stops accelerationChanged events being delivered.

Examples

mobileDisableAccelerometer

command: mobileEnableAccelerometer

message: accelerationChanged

Compatibility and Support

Introduced

LiveCode 4.5.2

OS

ios

android

Platforms

mobile

Thank you for your feedback!

Was this page helpful?